import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import pinia from './stores'

// 引入所有的 vant 样式
import 'vant/lib/index.css'

// 引入全局样式
import './styles/main.scss'

// const app = createApp(App)
// app.use(pinia)
// app.use(router)
// app.mount('#app')

// 链式调用: createApp 返回一个 APP 对象, use 完后继续返回该对象
createApp(App).use(pinia).use(router).mount('#app')
